package ${package.Entity};


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/*
 *  Created by ${author} on ${date}.
 */
@ApiModel
@Data
@TableName("${table.name}")
public class  ${entity}{

<#list table.fields as column>
    @ApiModelProperty(value = "${column.comment}")
   <#if column.name == "id">
  @TableId(value = "${column.name}",type = IdType.UUID)
   </#if>
   <#if column.name?index_of("_") != -1>
   @TableField(value = "${column.name}",exist = true)
   </#if>
   private  ${column.propertyType}  ${column.propertyName};

</#list>



}